#include <QtCore/QPoint>
/*
 * playerstate.h
 *
 *  Created on: 2009-09-02
 *      Author: ck
 */

#ifndef PLAYERSTATE_H_
#define PLAYERSTATE_H_

class PlayerState
{
public:
	PlayerState();
	virtual ~PlayerState();

	void setPosition(QPointF pos);
	void setVelocity(QPointF vel);
	void setIsAlive(bool ia);

	QPointF getPosition() const;
	QPointF getVelocity() const;
	bool getIsAlive() const;

	bool differsFrom(const PlayerState& ps) const;

private:
	QPointF position;
	QPointF velocity;
	bool isAlive;
};

#endif /* PLAYERSTATE_H_ */
